<?php

declare(strict_types=1);

namespace App\Controller\Grpc\Client;

use Hyperf\GrpcClient\BaseClient;
use Grpc\Reply;
use Grpc\Params;

class AdminClient extends BaseClient
{
    public function GetInfo(Params $argument)
    {
        return $this->_simpleRequest(
            '/grpc.Admin/GetInfo',
            $argument,
            [Reply::class, 'decode']
        );
    }
}
